import Choice from './choice.vue'
import ChoiceSearch from './choiceSearch.vue'
import ChoiceView from './choiceView.vue'
import ChoiceDelete from './choiceDelete.vue'
import ChoiceImport from './choiceImport.vue'
import ChoiceNewAdd from './choiceNewAdd.vue'

const components = [
    Choice,
    ChoiceSearch,
    ChoiceView,
    ChoiceDelete,
    ChoiceImport,
    ChoiceNewAdd
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}
export default main
